Find Square Root by Prime Factorization Method